package com.infindo.appcreate.zzyj.util;

import java.util.List;
import java.util.Map;

public class ACConstant {

    public static final String PLATFORM_NAME_IOS = "iOS";
    public static final String PLATFORM_NAME_ANDROID = "Android";
    
    public static final String PLATFORM_DEFAULT = PLATFORM_NAME_IOS;

    public static final String PLATFORM_TYPE_IOS = "*.ipa;*.zip";
    public static final String PLATFORM_TYPE_ANDROID = "*.apk;*.zip";

    public static final int STATUS_ENABLE = 1;
    public static final int STATUS_DISABLE = 0;

    public static final int STATUS_YES = 1;
    public static final int STATUS_NO = 0;

    public static final Integer YES = 1;
    public static final Integer NO = 0;

    public static final String ONE = "1";
    public static final String TWO = "2";

    public static final int PAGE_SIZE = 20;
    public static final int PAGE_SIZE_10 = 10;
    public static final int PAGE_SIZE_MOBI = 50;

    public static final int DEFAULT_VERSION_1 = 1;
    public static final int DEFAULT_VERSION_0 = 0;
    public static final String DEFAULT_VERSION_S = "1.0";

    public static final int DEFAULT_PACK_VERSION_0= 0;

    public static final String TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
    public static final String DATE_FORMAT = "yyyy-MM-dd";

    public static final String PENDING_PROVISION = "pending_provision";
    public static final String PENDING_BINARY = "pending_binary";
    public static final String PENDING_BUG_FIX = "pending_bug_fix";
    public static final String PENDING_QC = "pending_qc";
    public static final String PENDING_SUB = "pending_sub";
    public static final String PENDING_APP_APPROVAL = "pending_app_approval";
    public static final String PENDING_CLIENT_APPROVAL = "pending_client_approval";


    public static final String PROVISION = "Provision";
    public static final String PROVISION_STATUS_YES = "PROVISION_STATUS_YES";
    public static final String PROVISION_STATUS_NO = "PROVISION_STATUS_NO";
    public static final String PATH_UPLOAD = "uploads";
    public static final String PATH_PROVISION = "provision";

    public static final double IMAGE_SIZE_FULL_WIDTH = 320;
    public static final double IMAGE_SIZE_FULL_HEIGHT = 415;
    public static final double IMAGE_SIZE_SMALL_WIDTH = 95;
    public static final double IMAGE_SIZE_SMALL_HEIGHT = 118;

    public static final double IMAGE_SIZE_APP = 72;
    public static final double IMAGE_SIZE_APP_M = 512;

    public static final double IMAGE_SIZE_MOBI_BANNER_WIDTH = 320;
    public static final double IMAGE_SIZE_MOBI_BANNER_HEIGHT = 137;

    public static final double IMAGE_SIZE_MOBI_CONTENT_BANNER_WIDTH = 320;
    public static final double IMAGE_SIZE_MOBI_CONTENT_BANNER_HEIGHT = 200;

    public static final double IMAGE_SIZE_MOBI_CONTENT_ICON_WIDTH = 78;
    public static final double IMAGE_SIZE_MOBI_CONTENT_ICON_HEIGHT = 78;

    /*public static final int W_640 = 640;
    public static final int W_320 = 320;
    public static final int H_960 = 960;
    public static final int H_920 = 920;
    public static final int H_480 = 480;
    public static final int H_460 = 460;
    public static final int H_1096 = 1096;
    public static final int H_1136 = 1136;
    public static final int W_H_114 = 114;
    public static final int W_H_57 = 57;
    public static final int W_H_96 = 96;*/

    /*public enum Module{
		album, 
		contact, 
		content, 
		content_single, 
		html,
		directory,
		event,
		rss,
		weblink,
		video,
		table;
	}*/

    public static final int PAYMENT_TYPE_PAYPAL = 1;
    public static final String PAYMENT_STATUS_SENT = "Sent";
    public static final String PAYMENT_STATUS_PENDING = "Pending";
    public static final String PAYMENT_STATUS_PASS = "Pass";
    public static final String PAYMENT_STATUS_FAIL = "Fail";

    public static final String VIDEO_URL_START = "http://www.youtube.com/watch?";
    public static final String VIDEO_URL_PARAM = "v=";

    public static final String STATISTICS_TYPE_MONTH = "month";
    public static final String STATISTICS_TYPE_COUNTRY = "country";
    public static final String STATISTICS_TYPE_DEVICE = "device";
    public static final String STATISTICS_TYPE_BROWSER = "browser";
    public static final String STATISTICS_TYPE_DEVICEOS = "deviceOS";

    public static final int MAX_LENGTH_255 = 255;
    public static final String KEY_OF_LAYOUT = "key_of_layout";


    public static final int PREVIOUS_PAGE = -1;
    public static final int CURRENT_PAGE = 0;
    public static final int NEXT_PAGE = 1;

    public static final String PAID_NO = "NO";
    public static final String PAID_YES = "YES";

    /*public static final String ICON_SET_PATH = "res/icon_sets/black/";
	public static final String MODULE_CODE_ALBUM = "album";
    public static final String MODULE_CODE_CONTACT = "contact";
    public static final String MODULE_CODE_DIRECTORY = "directory";
    public static final String MODULE_CODE_EVENT = "event";
    public static final String MODULE_CODE_CONTENT_SINGLE = "content_single";
    public static final String MODULE_CODE_CONTENT_MUTI = "content";
    public static final String MODULE_CODE_RSS = "rss";
    public static final String MODULE_CODE_HTML = "html";
    public static final String MODULE_CODE_VIDEO = "video";

    public static final String MODULE_LABEL_HOME = "Home";
    public static final String MODULE_LABEL_EVENT = "Events";
    public static final String MODULE_LABEL_CONTENT_MUTI = "Product";
    public static final String MODULE_LABEL_ALBUM = "Gallery";
    public static final String MODULE_LABEL_CONTACT = "Contact";
    public static final String MODULE_LABEL_DIRECTORY = "Directory";
    public static final String MODULE_LABEL_RSS = "Rss";
    public static final String MODULE_LABEL_HTML = "Html";

    public static final String ICON_SET_PATH = "res/icon_sets/black/";
    public static final String PLUGIN_CODE_ALBUM = "photoAlbum";*/

    //sandy added 2012-4-1
    public static final int APP_DASHBOARD = 0;
    public static final int APP_STEP_ONE = 1;
    public static final int APP_STEP_TWO = 2;
    public static final int APP_STEP_THREE = 3;
    public static final int APP_STEP_FOUR= 4;

    //public static final String THEME_DARKGREY = "darkgrey";
    public static final String ICONS_WHITE = "white";
    public static final String ICONS_DARK = "dark";


    public static final long PLUGIN_ID_ZERO = 0;

    /* public static final String DEFAULT_APP_ICON="m/images/icons/icon.png";*/
    public static final String DEFAULT_APP_ICON="m/images/icons/default/icon-10@2x8.png";
    public static final String DEFAULT_APP_STARTUP="m_resource/bootup/bootupappx.png";

    /*lenao add*/ 
    //add pugin visible size 
    public static int PLUGIN_VISIBLE_SIZE = 11;
    //plugin preview root path 
    public static String PLUGIN_PREVIRE_ROOT_PATH = "m_resource/preview/";
    public static String PLUGIN_ICONS_ROOT_PATH = "m/icons/";
    public static String THEME_ICON_FILTER_SUFFIX_H = "_h";
    public static String THEME_ICON_FILTER_SUFFIX_HAT2X = "_h@2x";
    public static String THEME_ICON_FILTER_SUFFIX_AT2X = "@2x";
    public static String APP_DEFAULTICONS_ROOT_PATH = "m/images/icons/default/";
    //payment terms unit
    public static String PAY_TERMS_UNIT_M = "Months";

    //sandy add
    public static String PUSH_SERVER_URL="http://m.infindo.com/push.appsquare/mobileObjectFeed.action";


    //2012/09/12
    public static String BUILD_PENDING="Pending";
    public static String BUILD_RUNNING ="Running";
    public static String BUILD_DONE ="Done";
    public static String BUILD_FAIL ="Failure";
    //public static String BUILD_EXCEPTION="Exception";

    //email template
    public static String APP_SUBMINT_TO_ADMIN="AppSubmitToAdmin.ftl";
    public static String APP_SUBMINT_TO_USER= "AppSubmitToUser.ftl";
    public static String APP_REJECT= "AppReject.ftl";
    public static String APP_SUSPEND= "AppSuspend.ftl";
    public static String APP_RESUME= "AppResume.ftl";
    public static String APP_LIVE= "AppLive.ftl";
    public static String APP_CLOSE= "AppClose.ftl";
    public static String APP_REGENERATE= "AppReGenerate.ftl";
    public static String APP_BUILD_FAIL= "AppBinayFail.ftl";
    public static String APP_RENEW= "AppRenew.ftl";
    public static String APP_EXPIRED= "AppExpired.ftl";
    public static String APP_PAYSUCCESS= "paySuccess.ftl";

    public static String messageFileName="message.properties";

    //android apk
    public static final String SERVER_URL = "SERVER_URL";
    public static final String SENDER_ID="SENDERID";
    public static final String PUSH_CONSTANT_SRC_PATH="/src/com/infindo/frame/data/constant/PushConstant.java";
    
    //public static String BINARY_PENDING="Pending";
    //public static String BINARY_DONE ="Done";
    public static String BINARY_FAIL ="Fail";
    
    public static int FREE =0;
    public static int PAY =1;
    public static int ADVANCED =2;
    
    public static int PAY_NO = 0;
    public static int PAY_YES = 1;
    public static int PAY_PENDING =2;
    
    public static int PAYPAL_ID = 1;
    public static int Amazon_Payment_ID = 2;
    public static int GOOGLE_CHECKOUT_PAYMENT_ID = 3;
    public static int TWO_CheckOut_Payment_ID = 4;
    public static int AliPay_ID = 5;
    
    
    public static int COMPILE_INTERVAL_HOURS = 3;
}
